*{
    margin: 0;
    padding: 0;
}
body{
    background: #f5f5fa;
}
#main{
    width: 1000px;
    padding: 20px;
}
ul{
    list-style: none;
    width: 100%;
}
.container_top>ul::after{
    clear: both;
    display: block;
    content: "";

}
.container_top{
    margin:15px 10px;
}
.container_top ul li:first-child,.container_top ul li:nth-child(2){
    float: left;
    position: relative;
    margin-right: 20px;
    font-size: 12px;
}
.container_top ul li input{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance:none ;
    height: 25px;
    border-radius: 13px;
    border:none;
    background: white;
    outline: 0;
    padding:0 10px;
    box-sizing: border-box;
    line-height: 25px;
}
.container_top ul li input::placeholder{
    font-size: 12px;
    line-height: 25px;
}
.container_top ul li:first-child i{
    position: absolute;
    top:4px;
    right: 10px;
}
.container_top ul li select {
    background: white;
    border: none;
    border-radius: 13px;
    height: 25px;
    line-height: 25px;
    width: 130px;
    overflow: hidden;
}
.container_top ul li:last-child>button{
    width: 70px;
    float: right !important;
    height: 25px;
    line-height: 25px;
    font-size: 12px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance:none ;
    border-radius: 13px;
    border:none;
    margin-left: 500px;
}
.clear{
    clear: both;
}
.container_content{
    background: white;
    width: 100%;
    box-sizing: border-box;
    padding:15px 10px;
}
.container_content ul li{
    float: left;
    width: 315px;
    margin: 10px 4px;
    border: 1px solid #dadada;
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
}
.container_content ul li>div:first-child{
    width: 100%;
    height: 110px;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}
.container_content ul li>div:first-child img{
    width: 100%;
    height: 100%;
}
.container_content ul li>div:first-child div{

    position: absolute;
    bottom: -7px;
    left: 50px;
    color: white;
    display: inline-block;
    border-radius:8px ;
    height: 18px;
    width: 80px;
    font-size: 11px;
    text-align: center;
    line-height: 18px;
}

.active{
    background: #f67777;
}
.active:after{
    content: "活动进行中";
}
.end{
    background: #c0c4cc;
}
.end:after{
    content: "活动已结束";
}
.no_start{
    background: #22cf80;
}
.no_start:after{
    content: "活动未开始";
}
.container_content ul li>div:first-child{
    padding:18px 10px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    height:70px;

}
.container_content ul li>div:nth-child(2){
    padding:18px 15px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    height:85px;
    overflow: hidden;
    border-bottom: 1px solid #dadada;
}
.container_content ul li>div:nth-child(2) .art_item{
    text-indent: 2em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    box-sizing: border-box;
    height: 40px;

}
.container_content ul li>div:first-child h4{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;

}
.container_content ul li>div:first-child p{
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    transform:scale(0.9);
    position:relative;
    left:-6px;
    border-bottom: 1px dashed;
    height: 21px;
}
.container_content ul li>div:last-child{
    text-align:center ;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 12px;
    height: 30px;
}
.container_content ul li>div:last-child a{
    width:50px;
    flex-grow:1;
    height:24px;
    line-height: 24px;
}
.container_content ul li>div:last-child button:first-child{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    border: none;
    background-color: white;
    color: #22cf80;
}
.container_content ul li>div:last-child span{
    width: 1px;
    margin-top: 5px;
    background: #c1c1c1;
    height: 20px;
}
select {
    /*Chrome和Firefox里面的边框是不一样的，所以复写了一下*/
    border: solid 1px #000;

    /*很关键：将默认的select选择框样式清除*/
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;

    /*在选择框的最右侧中间显示小箭头图片*/
    background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right center #fff !important;


    /*为下拉小箭头留出一点位置，避免被文字覆盖*/
    padding-right: 14px;
}


/*清除ie的默认选择框样式清除，隐藏下拉箭头*/
select::-ms-expand { display: none; }

#demo7 select{
    width:80px;
}
.art_details_content{
    text-align: center;
    padding: 30px;
    height:100%;
    overflow-y: scroll;
    width: 100%;
    box-sizing: border-box;
}
.art_details_content h2{
    font-weight: bold;
    padding-left: 10px;
}
.art_details_content .layui-btn{
    float: right;
    background-color: white;
    color:red;
    font-size: 18px;
    position:absolute;
    top: 0;
    right: 60px;
}
.art_details_content .layui-btn:hover{

    color:rgba(255,0,0,0.5);

}
#edit_details{
    padding: 10px;
    text-align: center;
}
#edit_details .layui-form{
    width: 800px;
    padding: 20px 15px;
    margin: 0 auto;
}

#edit_details .layui-form-label:after{
    content: "：";
}
#edit_details .layui-btn+.layui-btn {
    margin-left: 60px;
}

#edit_details .art_edit_content {
   min-height: 200px;
}
#art_content{
    width: 100%;
    height: 100%;
}
#examine_art{
   width: 100%;
    border: none;
    height: auto;
}
.short_content+div{
    text-indent: 2em;
}
#edit_details .art_cancle_btn ,#edit_details .art_submit_btn{
    display: none;
}
#edit_details .art_content{
    padding: 10px 20px;
    box-sizing: border-box;
    min-height: 400px;
    text-align: left;
}
